{include file="static/appm/tpl_header.html" /}
<body xmlns="http://www.w3.org/1999/html">
<div class="weui-tab container" id="js__main">
    <div class="page__hd">
        <h1 class="page__title">
            <a href="{:urlBuild('!.finance');}#user">
                <img src="/aurora-appm.png" alt="Aurora" height="50px">
            </a>
            参照账单
        </h1>
    </div>
    <div class="weui-flex page-bar">
        <div class="weui-flex__item">
            <div style="float: right;margin-right: 10px;">
                <a href="javascript:;" class="text-primary tab__lnk" data-target="upload"><i class="fa fa-upload"></i> 上传</a>
            </div>
        </div>
    </div>
    <div class="weui-flex aurora-border"></div>
    <div class="weui-cells aurora-page-main">
        <a class="weui-cell weui-cell_access" href="{:urlBuild('!.faccount')}">
            <div class="weui-cell__bd">
                <p><i class="fa fa-list text-primary"></i> 财务账单</p>
            </div>
            <div class="weui-cell__ft" id="faccount_count">
            </div>
        </a>
        <a class="weui-cell weui-cell_access" href="{:url('faccount/edit')}">
            <div class="weui-cell__bd">
                <p><i class="fa fa-pencil-square text-primary"></i> 记账</p>
            </div>
            <div class="weui-cell__ft">
            </div>
        </a>
    </div>
    <div class="weui-flex aurora-border"></div>
    <div class="weui-footer">
        <p class="weui-footer__links">
            <a href="javascript:void(0);" class="weui-footer__link">版本号: v{$Think.config.setting.version}({$Think.config.setting.build})</a>
        </p>
        <p class="weui-footer__text">Copyright &copy; {$Think.config.setting.start}-{:date('Y');} {$Think.config.setting.organization}</p>
    </div>
</div>
<div class="weui-tab container js__form" id="js__upload" style="display: none;">
    <div class="weui-flex bg-faded aurora-edit-head">
        <div class="weui-flex__item">
            <div class="placeholder"><a href="javascript:;" class="tab__lnk" data-target="main">
                <i class="fa fa-arrow-circle-left"></i>
                返回
            </a>
            </div>
        </div>
        <div class="weui-flex__item">
        </div>
    </div>
    <div class="weui-cells__title">选中类型</div>
    <div class="weui-cells weui-cells_radio">
        <label class="weui-cell weui-check__label" for="r1">
            <div class="weui-cell__bd">支付宝</div>
            <div class="weui-cell__ft">
                <input required type="radio" class="weui-check" name="ref_type" value="alipay" id="r1" tips="请选择账单类型">
                <span class="weui-icon-checked"></span>
            </div>
        </label>
        <label class="weui-cell weui-check__label" for="r2">
            <div class="weui-cell__bd">微信</div>
            <div class="weui-cell__ft"> <input type="radio" name="ref_type" class="weui-check" value="wepay" id="r2">
                <span class="weui-icon-checked"></span>
            </div>
        </label>
    </div>
    <div class="weui-cells weui-cells_form" id="uploaderCustom">
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <div class="weui-uploader">
                    <div class="weui-uploader__hd">
                        <p class="weui-uploader__title">附件上传</p>
                        <input type="hidden" name="file_hash" id="file_hash_id">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="weui-cells weui-cells_form">
        <div id="file_upload">
        </div>
    </div>
    <div class="weui-cells__tips">请上传由支付宝/微信导出的 CSV 账单</div>
    <div class="weui-btn-area">
        <a class="weui-btn weui-btn_primary" href="javascript:" id="submit-btn">提交</a>
    </div>
</div>
</body>
</html>